<template>
	<view>
		<!-- {{pictureDetail}} -->
	</view>
</template>

<script setup>
import {onLoad} from '@dcloudio/uni-app'
import { ref } from 'vue';
import { requestData } from '../../utils/request.js'
const phId =ref('')
const pictureDetail =ref({})
async function getDetailData(){
  const resData=await requestData({
    url:`/api/reading/${phId.value}`
  })
	pictureDetail.value = resData.data
}
onLoad((option)=>{
  console.log(option.pid);
	phId.value = option.pid
	getDetailData()
})
</script>

<style lang="scss">

</style>
